﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoPartsSearch.Domain.Entities;

namespace AutoPartsSearch.Domain.Abstract.Repositories
{
    public interface IOfferRepository : IBaseRepository<Offer>
    {
        IEnumerable<Offer> GetBySeller(int sellerId, int page, int pageSize, out int totalCount);

        Offer GetByIdAndSeller(int id, int sellerId);

        IEnumerable<Offer> GetOffersByQuery(int queryId);
    }
}
